package com.yycx.module.weixin.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yycx.common.mybatis.annotation.TableAlias;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 公众号模板消息表
 *
 * @author flyme
 * @date 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_wechat_template")
@TableAlias("swt")
@ApiModel(value = "BusWechatTemplate对象", description = "公众号模板消息表")
public class SysWechatTemplate extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "weChatTemplateId", type = IdType.ASSIGN_ID)
    private Long weChatTemplateId;

    @ApiModelProperty(value = "公众号Id")
    private Long weChatId;

    @ApiModelProperty(value = "模板标题")
    private String templateTitle;

    @ApiModelProperty(value = "模板标识")
    private String templateCode;

    @ApiModelProperty(value = "微信公众号消息模板Id")
    private String templateId;

    @ApiModelProperty(value = "是否启用")
    private Integer isEnable;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
